export default async ({pPath = '', db}) => {
  let docs = [];
  try {
    const m = db
      .find({pPath: pPath})
      // .sort({sort: -1, name: 1})
      .skip(0)
      .limit(100000)
      .exec();
    docs = await m;
  } catch (e) {
    console.log('getFilesInfoMongoDb.异常', e.message);
  }
  return docs;
};
